/* 基础样式 */
.case-page {
  position: relative;
  background-color: #f5f7fa;
  color: #2c3e50;
}

.case-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(231, 76, 60, 0.05) 100%);
  z-index: 0;
}

.page-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

/* 标题样式 */
.case-main-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
  color: #2c3e50;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.case-main-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #9b59b6);
  border-radius: 3px;
}

.case-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #7f8c8d;
  margin-bottom: 40px;
  font-weight: 300;
}

/* 标签页样式 */
.case-tabs .ant-tabs-nav {
  margin-bottom: 30px;
}

.case-tabs .ant-tabs-tab {
  padding: 12px 24px;
  font-size: 1.1rem;
}

.case-tabs .ant-tabs-tab-active {
  font-weight: 500;
}

.case-tabs .ant-tabs-ink-bar {
  background: linear-gradient(90deg, #3498db, #9b59b6);
  height: 3px;
}

/* 内容区域 */
.case-content-section {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-title {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.service-card {
  height: 100%;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.1);
}

.service-card .ant-card-head-title {
  text-align: center;
}

.service-card .ant-card-body {
  text-align: center;
}

.card-footer {
  margin-top: 20px;
  text-align: center;
  color: #3498db;
  font-weight: 500;
  cursor: pointer;
}

/* 测试服务样式 */
.testing-hero {
  text-align: center;
  margin-bottom: 40px;
}

.testing-stats {
  margin-top: 30px;
}

.testing-stats .ant-statistic-title {
  color: #7f8c8d;
  font-size: 1rem;
}

.testing-stats .ant-statistic-content {
  font-size: 2rem;
  color: #3498db;
}

.testing-feature {
  text-align: center;
  transition: all 0.3s ease;
}

.testing-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

/* 开发服务样式 */
.development-intro {
  text-align: center;
  margin-bottom: 40px;
}

.project-card {
  height: 100%;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(52, 152, 219, 0.1);
}

.tech-tags {
  margin-top: 15px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .page-content {
    padding: 30px;
  }
  
  .case-main-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .page-content {
    padding: 20px;
    max-height: calc(100vh - 60px);
  }
  
  .case-main-title {
    font-size: 1.8rem;
  }
  
  .case-subtitle {
    font-size: 1rem;
  }
  
  .case-tabs .ant-tabs-tab {
    padding: 8px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .page-content {
    padding: 15px;
  }
  
  .case-main-title {
    font-size: 1.6rem;
  }
  
  .case-tabs .ant-tabs-tab {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
  
  .testing-stats .ant-col {
    margin-bottom: 15px;
  }
}